package commands;

import observers.StatsObserver;
import utils.EditorContext;
public class StatsCommand extends Command {
    private String option;


    public StatsCommand(EditorContext context, String option) {
        super(context);
        this.option = option;
    }

    @Override
    public void execute() {
        StatsObserver.getInstance().printStats(option);
    }
}